package com.camel.iamhi.service;

import com.camel.iamhi.base.BaseModel;
import com.camel.iamhi.base.Page;
import com.camel.iamhi.entities.IParams;

import java.io.Serializable;
import java.util.List;

public interface BaseService<T extends BaseModel> {

    List<T> selectList(IParams params);

    Page<T> page(IParams params);

    T save(T entity);

    void delete(Long id);
}
